{include file="Public/head" title="我的配资-股票配资" keywords="股票配资" description="股票配资" /}
<style>
    .peizi-order{color:#cb2000;border-bottom:3px solid #cb2000;text-align:center;line-height:40px;}
    .meiyou{line-height:26px;background:#FFFBEE;padding:5px 10px;margin:10px 5px;text-align:center;color:#C30;border:1px solid #e7c1b4;}
    .jilu{width:100%;}
    .jilu th{border-bottom:1px solid #eee;line-height:20px;padding:8px 5px;color:#999;text-align:left;font-weight:500;font-size:12px;}
    .jilu td{border-bottom:1px solid #eee;line-height:20px;padding:8px 5px;color:#999;text-align:left;font-weight:500;font-size:12px;}
    .mashang{background-color:#1578d8 !important;color:#FFF !important;width:90%;margin:10px 5%;}
    .mui-scroll{padding-bottom:20px;}
</style>
<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
    <!-- 菜单容器 -->
    {include file="Public/header"}

    <div class="mui-inner-wrap">
        <div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper">
            <div class="mui-scroll" style="background-color: #fff;">
                <header class="tx_head">
                    <p>
                        <a href="javascript:history.go(-1)" class="header_p1"><span class="mui-icon mui-icon-arrowleft"></span></a>
                    <h5>我的配资</h5>
                    <a id="offCanvasBtn" href="#offCanvasSide" class="mui-icon mui-action-menu mui-icon-bars mui-pull-right" style="color:#fff;"></a>
                    </p>
                </header>
                <p class="peizi-order">配资订单</p>
                {empty name="result"}
                    <p class="meiyou">您目前还没有任何配资信息！</p>
                {else /}
                    <table class="jilu">
                        <tr>
                            <th>总操盘资金</th>
                            <th>配资时间</th>
                            <th>状态</th>
                            <th>操作</th>
                        </tr>
                        {volist name="result" id="v"}
                            <tr>
                                <td>{$v['money2']}</td>
                                <td>{$v['dates']|date='Y-m-d',###}</td>
                                <td>{if condition="$v['isStop'] eq 0"}操盘中{else /}停止{/if}</td>
                                <td><a href='{:url("Account/xuyueinc",array("id"=>$v["id"],"xid"=>1))}'>续约/终止</a>&nbsp;&nbsp;
                                    <a href='{:url("Account/xuyueinc",array("id"=>$v["id"],"xid"=>2))}'>追加保证金</a>
                                </td>
                            </tr>
                        {/volist}
                    </table>
                    <!-- 分页 (调取通用方法)-->
                    {:pagination($result)}
                {/empty}
                <input class="mashang" type="button" value="马上去申请配资">
                <br> <br> <br><br><br>
            </div>
        </div>
        <div class="mui-off-canvas-backdrop"></div>
    </div>
</div>
{include file="Public/footer"}
</body>
<script>
    $(".mashang").click(function(){
       window.location.href = "{:url('Caopan/index')}";
    });
</script>
</html>